package com.xiaoq.shop.dto;

import org.apache.commons.lang3.builder.ToStringBuilder;

import java.io.Serializable;
import java.util.List;

/**
 * @author xinpeng created on 16/9/30-下午12:02.
 */
public class OrderDTO implements Serializable{

    private Long shopOrderId;

    private Long userId;

    private Long purchasedDateTime;

    private double totalAmounts;

    private List<SKUDTO> purchasedItems;

    public Long getShopOrderId() {
        return shopOrderId;
    }

    public void setShopOrderId(Long cornershopOrderId) {
        this.shopOrderId = shopOrderId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getPurchasedDateTime() {
        return purchasedDateTime;
    }

    public void setPurchasedDateTime(Long purchasedDateTime) {
        this.purchasedDateTime = purchasedDateTime;
    }

    public double getTotalAmounts() {
        return totalAmounts;
    }

    public void setTotalAmounts(double totalAmounts) {
        this.totalAmounts = totalAmounts;
    }

    public List<SKUDTO> getPurchasedItems() {
        return purchasedItems;
    }

    public void setPurchasedItems(List<SKUDTO> purchasedItems) {
        this.purchasedItems = purchasedItems;
    }

    @Override
    public String toString() {
        return ToStringBuilder.reflectionToString(this);
    }
}
